<%--
 * list.jsp
 *
 * Copyright (C) 2013 Universidad de Sevilla
 * 
 * The use of this project is hereby constrained to the conditions of the 
 * TDG Licence, a copy of which you may download from 
 * http://www.tdg-seville.info/License.html
 --%>

<%@page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@taglib prefix="jstl" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@taglib prefix="security"
	uri="http://www.springframework.org/security/tags"%>
<%@taglib prefix="display" uri="http://displaytag.sf.net"%>
<%@taglib prefix="acme" tagdir="/WEB-INF/tags"%>


<display:table pagesize="5" class="displaytag" keepStatus="true"
	name="participants" requestURI="${requestURI}" id="row">



	<spring:message code="participant.name" var="nameHeader" />
	<display:column property="name" title="${nameHeader}" sortable="true" />


	<spring:message code="participant.surname" var="surnameHeader" />
	<display:column property="surname" title="${surnameHeader}"
		sortable="true" />


	<spring:message code="participant.email" var="emailHeader" />
	<display:column property="email" title="${emailHeader}"
		sortable="false" />


	<spring:message code="participant.creditcard.holderName"
		var="holderNameHeader" />
	<display:column property="creditCard.holderName"
		title="${holderNameHeader}" sortable="false" />

	<spring:message code="participant.creditcard.brandName"
		var="brandNameHeader" />
	<display:column property="creditCard.brandName"
		title="${brandNameHeader}" sortable="false" />


	<spring:message code="participant.creditcard.number" var="numberHeader" />
	<display:column property="creditCard.number" title="${numberHeader}"
		sortable="false" />


	<spring:message code="participant.creditcard.expirationMonth"
		var="expirationMonthHeader" />
	<display:column property="creditCard.expirationMonth"
		title="${expirationMonthHeader}" sortable="false" />


	<spring:message code="participant.creditcard.expirationYear"
		var="expirationYearHeader" />
	<display:column property="creditCard.expirationYear"
		title="${expirationYearHeader}" sortable="false" />


	<spring:message code="participant.creditcard.cvvCode"
		var="cvvCodeHeader" />
	<display:column property="creditCard.cvvCode" title="${cvvCodeHeader}"
		sortable="false" />



</display:table>

<!-- Action links -->

<acme:cancel code="participant.goBack" url="${backURI}" />